<!doctype html>
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, maximum-scale=1.0, initial-scale=1.0, user-scalable=0" />
  <title></title>
  <link type="text/css" rel="stylesheet" href="./assets/css/style.css">
  <!-- 提示插件 -->
  <script src="./assets/js/notiflix-1.3.0.min.js"></script>
    <!--核心插件样式-->
    <link rel="stylesheet" href="./assets/css/notiflix.css">

    <!-- jquery  -->
    <script src="./assets/js/jquery.min.js"></script>
</head>

<body style=" background:#f5f5f5">
  <div class="myBox">
    <div class="L"><img src="./assets/images/01.jpg" /></div>
    <div class="C">
      <div class="tit">李莉</div>
      <div class="sub">lili*********</div>
    </div>
    <div class="R"><img src="./assets/images/go.png" /></div>
  </div>
  <div class="clear"></div>
  <div class="allkbox"></div>
  <div class="myboxcon" style="cursor:pointer">
    <a href="profile.html">
      <p>基本资料</p>
      <img src="./assets/images/go.png">
    </a>
  </div>
  <div class="myboxcon">
    <p>充值中心</p>
    <img src="./assets/images/go.png">
  </div>
  <div class="myboxcon" style="cursor:pointer">
    <p>我的订单</p>
    <img src="./assets/images/go.png">
  </div>
  <div class="myboxcon" onclick="logout()">
    <p>退出登陆</p>
    <img src="./assets/images/go.png">
  </div>

  <div class="clear"></div>
  <div class="h54"></div>
  <div class="clear"></div>

  <div class="footerBox">
    <div class="footer">
      <ul>
        <li>
          <a href="index.html">
            <img src="./assets/images/f1.png">
            <p>首页</p>
          </a>
        </li>
        <li>
          <a href="typelist.html">
            <img src="./assets/images/f2.png">
            <p>分类</p>
          </a>
        </li>
        <li>
          <a href="gwc.html">
            <img src="./assets/images/f3.png">
            <p>购物车</p>
          </a>
        </li>
        <li class="on">
          <a href="my.html">
            <img src="./assets/images/f04.png">
            <p>我的</p>
          </a>
        </li>
      </ul>
    </div>
  </div>
</body>

</html>
<script>
  Notiflix.Notify.Init();
  $(document).ready(function () {
    let LoginUser = JSON.parse(localStorage.getItem('LoginUser'));
    if (JSON.stringify(LoginUser) === "{}") {

    }
  })

  function logout() {
    localStorage.removeItem('LoginUser')
    location.href = "login.html"
  }
</script>